build: Use link_whole for GDK backends
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 28 Apr 2017 21:41:50 +0000 (22:41 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 May 2017 14:10:58 +0000 (15:10 +0100)
When linking libgdk4 to each backend's static library, we want to use
the whole-archive support.

gdk/meson.build

index c6f4735d5bfb89d6002815ee59aac14d2b4a0c53..8cd144e937e31577837124191c9e792acdfcf4a9 100644 (file)
@@ -207,7 +207,7 @@ libgdk = static_library('gdk',
     '-DG_LOG_DOMAIN="Gdk"',
     '-DG_LOG_USE_STRUCTURED=1',
   ] + common_cflags,
-  link_with: gdk_backends,
+  link_whole: gdk_backends,
   link_args: common_ldflags)
 
 # We don't have link_with: to internal static libs here on purpose, just